package com.dataart.training.crimequalification.service;

import com.dataart.training.crimequalification.entity.UserEntity;
import org.springframework.dao.DataIntegrityViolationException;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

public interface RegistrationService {

    public UserEntity registerUser(String username, String unencodedPassword, String name,
                                   String email, String phoneNumber)
            throws UnsupportedEncodingException, NoSuchAlgorithmException, DataIntegrityViolationException;

}
